package batframework.mvc.action;

import java.lang.reflect.Method;

public class ActionHandler
{
	private Class<?> controllerClass;
	
	private Method method;
	
	private String type;
	
	private String methodName;

	public Class<?> getControllerClass()
	{
		return controllerClass;
	}

	public void setControllerClass(Class<?> controllerClass)
	{
		this.controllerClass = controllerClass;
	}

	public Method getMethod()
	{
		return method;
	}

	public void setMethod(Method method)
	{
		this.method = method;
	}

	public String getType()
	{
		return type;
	}

	public void setType(String type)
	{
		this.type = type;
	}

	public ActionHandler()
	{
		super();
		// TODO Auto-generated constructor stub
	}

	public ActionHandler(Class<?> controllerClass, String methodName)
	{
		this.controllerClass = controllerClass;
		this.setMethodName(methodName);
	}

	public String getMethodName()
	{
		return methodName;
	}

	public void setMethodName(String methodName)
	{
		this.methodName = methodName;
	}
	
	
}
